<div class="col-md-2"></div>
<div class="col-md-6">   
    <div class="panel panel-default">
        <div class="panel-heading "><h4><i class="glyphicon glyphicon-cog"></i>&nbsp;Đổi mật khẩu</h4></div>
        <div class="panel-body">
            {{ Form::open(array('url'=>'store=doimatkhau','method'=>'post','class'=>'form-changepass')) }}
            <div class="form-group">
                {{ Form::input('password','mat_khau',Input::old('mat_khau'),array('placeholder' => 'Nhập mật khẩu hiện tại','class'=>'form-control','required'=>'','pattern'=>'.{3,100}','autofocus')) }}
            </div>
            <div class="form-group">
                {{ Form::input('password','mat_khau_moi',Input::old('mat_khau_moi'),array('placeholder' => 'Nhập mật khẩu mới','class'=>'form-control','required'=>'','pattern'=>'.{3,100}')) }}
            </div>        
            <div class="form-group">
                {{ Form::input('password','xn_mat_khau_moi',Input::old('xn_mat_khau_moi'),array('placeholder' => 'Xác nhận mật khẩu','class'=>'form-control','required'=>'','pattern'=>'.{3,100}')) }}
            </div>       
            <div class="form-group" style="margin-left: 50px;">
                <button class="btn btn-success" type='submit' title="Lưu thay đổi"><span class="glyphicon glyphicon-floppy-save">&nbsp;</span>Xác nhận</button>
                <button class="btn btn-warning" type='reset' title="Làm lại"><span class="glyphicon glyphicon-refresh">&nbsp;</span>Làm lại</button>
            </div>
            {{ Form::close() }}
        </div>
    </div> <!-- /container -->
</div>
@if(Session::has('success')) 
<script type="text/javascript">
    toastr.success("{{Session::get('success')}}");
</script>
@endif
@if(Session::has('warning')) 
<script type="text/javascript">
    toastr.warning("{{Session::get('warning')}}");
</script>
@endif
@if(Session::has('error'))
<script type="text/javascript">
    toastr.error("{{Session::get('error')}}");
</script>
@endif